package com.shishuo.cms.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import com.shishuo.cms.entity.ArticleComment;
import com.shishuo.cms.entity.vo.ArticleCommentVo;
@Repository
public interface ArticleCommentDao {
	public int addArticleComment(ArticleComment articleComment);
	public int delArticleCommentById(long id);
	public List<ArticleCommentVo> getArticleCommentListByArticleId(
			@Param("articleIdP") long articleId,
			@Param("offset") long offset, @Param("rows") long rows);
	public int getArticleCommentListCountByArticleId(
			@Param("articleIdP") long articleId);
}
